package cn.ffcs.unm.family.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.unm.family.dao.FamilyDao;
import cn.ffcs.unm.family.manager.FamilyManager;
import cn.ffcs.unm.family.model.Family;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("familyManager")
@Scope("prototype")
public class FamilyManagerImpl implements FamilyManager {

	@Resource
	private FamilyDao familyDao;

	@Override
	public PageInfo queryPageInfoByFamily(
			Family family, int currentPage, int pageSize) {
		return familyDao.queryPageInfoByFamily(
				family, currentPage, pageSize);
	}

}
